package com.xiaomazi.statistics.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
    * 网站统计日数据
    */
@ApiModel(value="com-xiaomazi-statistics-entity-StatisticsDaily")
@Data
@TableName(value = "statistics_daily")
public class StatisticsDaily implements Serializable {
    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    @ApiModelProperty(value="主键")
    private String id;

    /**
     * 统计日期
     */
    @TableField(value = "date_calculated")
    @ApiModelProperty(value="统计日期")
    private String dateCalculated;

    /**
     * 注册人数
     */
    @TableField(value = "register_num")
    @ApiModelProperty(value="注册人数")
    private Integer registerNum;

    /**
     * 登录人数
     */
    @TableField(value = "login_num")
    @ApiModelProperty(value="登录人数")
    private Integer loginNum;

    /**
     * 每日播放视频数
     */
    @TableField(value = "video_view_num")
    @ApiModelProperty(value="每日播放视频数")
    private Integer videoViewNum;

    /**
     * 每日新增课程数
     */
    @TableField(value = "course_num")
    @ApiModelProperty(value="每日新增课程数")
    private Integer courseNum;

    /**
     * 创建时间
     */
    @TableField(value = "gmt_create",fill = FieldFill.INSERT)
    @ApiModelProperty(value="创建时间")
    private Date gmtCreate;

    /**
     * 更新时间
     */
    @TableField(value = "gmt_modified",fill = FieldFill.INSERT_UPDATE)
    @ApiModelProperty(value="更新时间")
    private Date gmtModified;

    private static final long serialVersionUID = 1L;
}